#ifndef __PER
#define __PER

#include "maya.h"
#include "evector.h"
#include <time.h>

class Per
{
public:
	Per(int octave=4,double persistance=0.2,double lambda=100,double amplitude=400);
	~Per();
	double interpolation(double,double,double,double);
	double hauteur1octave(double,double,int);
	double hauteur(double,double);

private:
	QVector<double> aleatoire;
	int octave;
	double persistance;
	double lambda;
	double amplitude;
};

#endif